<?php
namespace app\common\model;
/**
 * Created by PhpStorm.
 * User: junyv
 * Date: 2016/9/18
 * Time: 10:36
 */
class Collection extends \think\Model
{
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;
    public function house(){
        return $this->hasOne('house','id','house_id',[],'left')->field('id,title,img,average_price,youhui,group_youhui');
    }
}